package uk.ac.bath.machines.bool;

import uk.ac.bath.legacy.Value;
import java.io.*;

public class Off extends ConstantOperator {

    public void eval(Value result) {
	result.set(0);
    }

    public int getStateSize() {
        return 1;
    }

    public int nIn() {
	return 0;
    }
    public int nOut() {
	return 1;
    }

    public Object clone() {
        return this;
    } 
    public void toString(StringWriter w) {
        w.write("Off ");
    }

}

